<template>
	<view class="groupbox">
		<view>
			<view class="b1">学习</view>
			<view class="v1">
				<view class="v1box v11">
					<view class="v1zz1" @click="jiyikapian">记忆卡片</view>
				</view>
				<view class="v1box v12">
					<view class="v1zz1" @click="biantingbianxue">边听边学</view>
				</view>
			</view>
		</view>
		<view>
			<view class="b1">练习</view>
			<view class="v1">
				<view class="v1box v13">
					<view class="v1zz2">阶段测试</view>
				</view>
				<view class="v1box v14">
					<view class="v1zz2">听写默写</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"group",
		data() {
			return {
		
			};
		},
		methods:{
			jiyikapian(){
				uni.navigateTo({
					url:"../../pages/jiyikapian/jiyikapian"
				})
			},
			biantingbianxue(){
				uni.navigateTo({
					url:"../../pages/biantingbianxue/biantingbianxue"
				})
			}
		}
		
	}
</script>

<style scoped>
	.groupbox{
		margin: 15px;
		box-sizing: border-box;
	}
	.groupbox>view{
		background-color: #FFFFFF;
		border-radius: 5px;
		margin: 15px 0;
		padding: 10px;
		box-sizing: border-box;
	}
	.b1{
		color: #3F9D83;
		font-size: 20px;
		font-weight: bold;
		margin-bottom: 10px;
		line-height: 40px;
	}
	.v1{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	.v1 .v1box{
		position: relative;
		width: 42vw;
		height: 12vh;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 10px;
		background-size: 100%;
		background-repeat: no-repeat;
		border-radius: 5px;
		color: #FFFFFF;
		overflow: hidden;
	}
	.v1box>view{
		width: 100%;
		height: 12vh;
		text-align: center;
		line-height: 12vh;
		font-weight: bold;
		font-size: 18px;
	}
	.v1zz1{
		background:linear-gradient(90deg,#23B48D,transparent) ;
	}
	.v1zz2{
		background:linear-gradient(90deg,#F99C28,transparent) ;
	}
	.v11{
		background-image:url(../../static/images/b0a1ee6e39007b1ba9a34f43b045143.png) ;
	}
	.v12{
		background-image:url(../../static/images/6270a6ee10101b8aa0fa8166189723f.png) ;
	}
	.v13{
		background-image:url(../../static/images/0d59b02cf29406268526e10ae9d2351.jpg) ;
	}
	.v14{
		background-image:url(../../static/images/9e0c6ceb8ca5f23f7778e95dbcfa917.png) ;
	}
</style>
